﻿HmJS.$Import('base.element.expandabbreviation');
//HmJS.$Import('core.domready');

HmJS.register('demo.module.base.element.expandabbreviation', function ($ns) {
	var that = {};

	that.todo = function () {
		document.id(document.body).expandAbbr('div#header>div#logo^text=Containing Logo+div#navigation+div#subnavigation');
		$('navigation').expandAbbr('ul>li*3>a^href=http://localhost,text=My Linktext,target=_blank,title=a navigation link');
		$('subnavigation').expandAbbr('ul>li*5>a^href=http://localhost/sub,text=My Sub-Linktext,title=a link');
	};

	return that;
});
